package com.ctshk.rpc.order.bus.req;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("填写巴士订单保险信息req")
public class BusPlaceOrderInsuranceReq implements Serializable {
	private static final long serialVersionUID = 1L;

	@NotNull(message = "保险ID不能为空")
	@ApiModelProperty(value = "保险ID")
	private Long insuranceId;
	
	@NotNull(message = "投保人旅客下标不能为空")
	@ApiModelProperty(value = "投保人旅客下标，与旅客列表对应")
    private Integer policyHolderIndex;
	
	@NotEmpty(message = "受保人旅客下标列表不能为空")
	@ApiModelProperty(value = "受保人旅客下标列表，与旅客列表对应")
	private List<Integer> insuranceTouristIndexList;
}
